<include file="header" />

<div class="content-main">



	<div class="row">

		<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12" data-find="_3">

			<div class="box bottom-main col-xs-12 col-sm-12 col-md-4 col-lg-4"
				data-find="_2">
				<div class="info float-container" data-find="_1">
					<div class="col-sm-12 bottom-title">
						<h3 class="text-uppercase">个人信息修改</h3>
						<h4 class="text-uppercase">mauris vitae erat</h4>
					</div>


					<div class="row ">

						<div class="widget-body">

							<div class="widget-forms clearfix col-md-12 col-lg-12">

								<form class="form-horizontal" method="post"
									enctype="multipart/form-data" action="updateUser">

									<input type="hidden" name="uid" value="{$user.uid}">

									<div class="control-group">
										<label for="username" class=" control-label">用户名</label>
										<div class="controls">
											<input type="text" class="form-control" id="username"
												name="username" placeholder="username"
												value="{$user.username}">
										</div>
									</div>

									<div class="control-group">
										<label for="pass" class="control-label">密码</label>
										<div class="controls">
											<input type="password" class=" form-control " id="pass"
												name="pass" placeholder="password" value="{$user.pass}">
										</div>
									</div>

									<div class="control-group">
										<label for="stunum" class=" control-label">学号</label>
										<div class="controls">
											<input type="text" class="form-control" id="stunum"
												name="stunum" placeholder="stunum" value="{$user.stunum}">
										</div>
									</div>

									<div class="control-group">
										<label for="realname" class=" control-label">真实姓名</label>
										<div class="controls">
											<input type="text" class="form-control" id="realname"
												name="realname" placeholder="realname"
												value="{$user.realname}">
										</div>
									</div>

									<div class="control-group">
										<label for="tele" class=" control-label">电话</label>
										<div class="controls">
											<input type="text" class="form-control" id="tele" name="tele"
												placeholder="telephone" value="{$user.tele}">
										</div>
									</div>

									<div class="control-group">
										<label for="email" class=" control-label">Email </label>
										<div class="controls">
											<input type="email" class="form-control" id="email"
												name="email" placeholder="email" value="{$user.email}">
										</div>
									</div>

									<div class="control-group">
										<label for="image" class=" control-label">头像</label>
										<div class="controls">
											<img clas="img-rounded" id="image"
												src="__PUBLIC__/Uploads/photo/{$user.photo}" alt="no pic"
												width=150px;height=150px; />
										</div>
									</div>

									<div class="control-group">
										<label for="photo" class=" control-label">修改文件</label>

										<div class="controls">
											<input type="file" id="photo" name="photo">

										</div>
									</div>

									<div class="widget-footer">
										<br />
										<button class="btn btn-primary" type="submit">Save</button>
										<button class="btn" type="button">Cancel</button>
									</div>
								</form>

							</div>






						</div>


					</div>

				</div>

			</div>

			<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
				<div class="box bottom-main">
					<div class="info float-container">
						<div class="col-sm-12 bottom-title">
							<h3 class="text-uppercase">我参加的社团</h3>
							<h4 class="text-uppercase">mauris vitae erat</h4>
						</div>

						<div class="row">
							<div class="col-sm-12 col-md-12  contact_left">

									<table id="users"
								class="table table-striped table-bordered dataTable">
								<thead>
									<tr>
										<td class="col-sm-2">编号</td>
										<td class="col-sm-1">名称</td>
									</tr>
								</thead>
								<tbody>

									<volist name="groups" id="gr">
									<tr>
										<td>{$gr.gid}</td>
										<td><a href="groupInfo?gid={$gr.gid}"> {$gr.groupname}</a></td>
									</tr>

									</volist>


								</tbody>
						
							</table>

							</div>

						</div>

					</div>
					<p class="bottom-desc"></p>
					<hr>
					<div class="col-sm-12 location-main"></div>
				</div>

			</div>

			<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
				<div class="box bottom-main">
					<div class="info float-container">
						<div class="col-sm-12 bottom-title">
							<h3 class="text-uppercase">我参加的活动</h3>
							<h4 class="text-uppercase">mauris vitae erat</h4>
						</div>

						<div class="row">
							<div class="col-sm-12 col-md-12  contact_left">

								<table id="practices" class="table table-striped table-bordered dataTable">
								<thead>
									<tr>
										<td class="col-sm-2">活动名称</td>
										<td class="col-sm-1">社团名称</td>

									</tr>
								</thead>
								<tbody>

									<volist name="practices" id="pr">
									<tr>
	
										<td><a href="practiceInfo?pid={$pr.pid}">{$pr.name}</a></td>
									    <td><a href="groupInfo?pid={$pr.gid}"> {$pr.groupname}</a></td>
								
									
							</tr>
									</volist>
								</tbody>
							</table>

							</div>

						</div>

					</div>
					<p class="bottom-desc"></p>
					<hr>
					<div class="col-sm-12 location-main"></div>
				</div>

			</div>




		</div>



	</div>
	<!-- .main-page -->

</div>
<!-- .row -->


<include file="footer" />